package org.bulu.project.system.model.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.netty.util.concurrent.ThreadPerTaskExecutor;
import lombok.Data;
import org.bulu.project.system.enums.MenuTypeEnum;

import java.util.List;

@Data
public class MenuVO {

    private Long id;

    private Long parentId;

    private String name;

    private MenuTypeEnum type;

    private String routeName;

    private String routePath;

    private String component;

    private Integer sort;

    private Integer visible;

    private String icon;

    private String redirect;

    private String perm;

    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private List<MenuVO> children;

}
